Optimal. Leaf size=193 \[ \frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+77 c^2 \left (b^2-4 a c\right )^{3/4} d^{13/2} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )-77 c^2 \left (b^2-4 a c\right )^{3/4} d^{13/2} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.11, antiderivative size = 193, normalized size of antiderivative = 1.00, number of steps
used = 8, number of rules used = 7, integrand size = 26, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.269, Rules used = {700, 706, 708,
335, 304, 209, 212} \begin {gather*} 77 c^2 d^{13/2} \left (b^2-4 a c\right )^{3/4} \text {ArcTan}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-77 c^2 d^{13/2} \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt {d} \sqrt [4]{b^2-4 a c}}\right )-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}+\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 209
Rule 212
Rule 304
Rule 335
Rule 700
Rule 706
Rule 708
Rubi steps
\begin {align*} \int \frac {(b d+2 c d x)^{13/2}}{\left (a+b x+c x^2\right )^3} \, dx &=-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}+\frac {1}{2} \left (11 c d^2\right ) \int \frac {(b d+2 c d x)^{9/2}}{\left (a+b x+c x^2\right )^2} \, dx\\ &=-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{2} \left (77 c^2 d^4\right ) \int \frac {(b d+2 c d x)^{5/2}}{a+b x+c x^2} \, dx\\ &=\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{2} \left (77 c^2 \left (b^2-4 a c\right ) d^6\right ) \int \frac {\sqrt {b d+2 c d x}}{a+b x+c x^2} \, dx\\ &=\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{4} \left (77 c \left (b^2-4 a c\right ) d^5\right ) \text {Subst}\left (\int \frac {\sqrt {x}}{a-\frac {b^2}{4 c}+\frac {x^2}{4 c d^2}} \, dx,x,b d+2 c d x\right )\\ &=\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+\frac {1}{2} \left (77 c \left (b^2-4 a c\right ) d^5\right ) \text {Subst}\left (\int \frac {x^2}{a-\frac {b^2}{4 c}+\frac {x^4}{4 c d^2}} \, dx,x,\sqrt {d (b+2 c x)}\right )\\ &=\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}-\left (77 c^2 \left (b^2-4 a c\right ) d^7\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d-x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )+\left (77 c^2 \left (b^2-4 a c\right ) d^7\right ) \text {Subst}\left (\int \frac {1}{\sqrt {b^2-4 a c} d+x^2} \, dx,x,\sqrt {d (b+2 c x)}\right )\\ &=\frac {154}{3} c^2 d^5 (b d+2 c d x)^{3/2}-\frac {d (b d+2 c d x)^{11/2}}{2 \left (a+b x+c x^2\right )^2}-\frac {11 c d^3 (b d+2 c d x)^{7/2}}{2 \left (a+b x+c x^2\right )}+77 c^2 \left (b^2-4 a c\right )^{3/4} d^{13/2} \tan ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )-77 c^2 \left (b^2-4 a c\right )^{3/4} d^{13/2} \tanh ^{-1}\left (\frac {\sqrt {d (b+2 c x)}}{\sqrt [4]{b^2-4 a c} \sqrt {d}}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 1.60, size = 292, normalized size = 1.51 \begin {gather*} \left (\frac {1}{6}+\frac {i}{6}\right ) c^2 (d (b+2 c x))^{13/2} \left (\frac {\left (\frac {1}{8}-\frac {i}{8}\right ) \left (77 b^4-616 a b^2 c+1232 a^2 c^2-121 b^2 (b+2 c x)^2+484 a c (b+2 c x)^2+32 (b+2 c x)^4\right )}{c^2 (b+2 c x)^5 (a+x (b+c x))^2}-\frac {231 \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (1-\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )}{(b+2 c x)^{13/2}}+\frac {231 \left (b^2-4 a c\right )^{3/4} \tan ^{-1}\left (1+\frac {(1+i) \sqrt {b+2 c x}}{\sqrt [4]{b^2-4 a c}}\right )}{(b+2 c x)^{13/2}}-\frac {231 \left (b^2-4 a c\right )^{3/4} \tanh ^{-1}\left (\frac {(1+i) \sqrt [4]{b^2-4 a c} \sqrt {b+2 c x}}{\sqrt {b^2-4 a c}+i (b+2 c x)}\right )}{(b+2 c x)^{13/2}}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [B] Leaf count of result is larger than twice the leaf count of optimal. \(360\) vs.
\(2(161)=322\).
time = 0.73, size = 361, normalized size = 1.87
method | result | size |
derivativedivides | \(64 c^{2} d^{5} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{3}-d^{2} \left (\frac {16 \left (-\frac {19 a c}{128}+\frac {19 b^{2}}{512}\right ) \left (2 c d x +b d \right )^{\frac {7}{2}}+16 \left (-\frac {15}{32} a^{2} c^{2} d^{2}+\frac {15}{64} a \,b^{2} c \,d^{2}-\frac {15}{512} b^{4} d^{2}\right ) \left (2 c d x +b d \right )^{\frac {3}{2}}}{\left (4 a c \,d^{2}-b^{2} d^{2}+\left (2 c d x +b d \right )^{2}\right )^{2}}+\frac {\left (\frac {77 a c}{8}-\frac {77 b^{2}}{32}\right ) \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}\right )\right )\) | \(361\) |
default | \(64 c^{2} d^{5} \left (\frac {\left (2 c d x +b d \right )^{\frac {3}{2}}}{3}-d^{2} \left (\frac {16 \left (-\frac {19 a c}{128}+\frac {19 b^{2}}{512}\right ) \left (2 c d x +b d \right )^{\frac {7}{2}}+16 \left (-\frac {15}{32} a^{2} c^{2} d^{2}+\frac {15}{64} a \,b^{2} c \,d^{2}-\frac {15}{512} b^{4} d^{2}\right ) \left (2 c d x +b d \right )^{\frac {3}{2}}}{\left (4 a c \,d^{2}-b^{2} d^{2}+\left (2 c d x +b d \right )^{2}\right )^{2}}+\frac {\left (\frac {77 a c}{8}-\frac {77 b^{2}}{32}\right ) \sqrt {2}\, \left (\ln \left (\frac {2 c d x +b d -\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}{2 c d x +b d +\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}} \sqrt {2 c d x +b d}\, \sqrt {2}+\sqrt {4 a c \,d^{2}-b^{2} d^{2}}}\right )+2 \arctan \left (\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )-2 \arctan \left (-\frac {\sqrt {2}\, \sqrt {2 c d x +b d}}{\left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}+1\right )\right )}{8 \left (4 a c \,d^{2}-b^{2} d^{2}\right )^{\frac {1}{4}}}\right )\right )\) | \(361\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Exception raised: ValueError} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 951 vs.
\(2 (161) = 322\).
time = 3.34, size = 951, normalized size = 4.93 \begin {gather*} \frac {924 \, \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {1}{4}} {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )} \arctan \left (\frac {\left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {1}{4}} {\left (b^{4} c^{6} - 8 \, a b^{2} c^{7} + 16 \, a^{2} c^{8}\right )} \sqrt {2 \, c d x + b d} d^{19} - \sqrt {2 \, {\left (b^{8} c^{13} - 16 \, a b^{6} c^{14} + 96 \, a^{2} b^{4} c^{15} - 256 \, a^{3} b^{2} c^{16} + 256 \, a^{4} c^{17}\right )} d^{39} x + {\left (b^{9} c^{12} - 16 \, a b^{7} c^{13} + 96 \, a^{2} b^{5} c^{14} - 256 \, a^{3} b^{3} c^{15} + 256 \, a^{4} b c^{16}\right )} d^{39} + \sqrt {{\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}} {\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}} \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {1}{4}}}{{\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}}\right ) - 231 \, \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {1}{4}} {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )} \log \left (456533 \, {\left (b^{4} c^{6} - 8 \, a b^{2} c^{7} + 16 \, a^{2} c^{8}\right )} \sqrt {2 \, c d x + b d} d^{19} + 456533 \, \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {3}{4}}\right ) + 231 \, \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {1}{4}} {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )} \log \left (456533 \, {\left (b^{4} c^{6} - 8 \, a b^{2} c^{7} + 16 \, a^{2} c^{8}\right )} \sqrt {2 \, c d x + b d} d^{19} - 456533 \, \left ({\left (b^{6} c^{8} - 12 \, a b^{4} c^{9} + 48 \, a^{2} b^{2} c^{10} - 64 \, a^{3} c^{11}\right )} d^{26}\right )^{\frac {3}{4}}\right ) + {\left (256 \, c^{5} d^{6} x^{5} + 640 \, b c^{4} d^{6} x^{4} + 2 \, {\left (199 \, b^{2} c^{3} + 484 \, a c^{4}\right )} d^{6} x^{3} - {\left (43 \, b^{3} c^{2} - 1452 \, a b c^{3}\right )} d^{6} x^{2} - {\left (63 \, b^{4} c - 418 \, a b^{2} c^{2} - 616 \, a^{2} c^{3}\right )} d^{6} x - {\left (3 \, b^{5} + 33 \, a b^{3} c - 308 \, a^{2} b c^{2}\right )} d^{6}\right )} \sqrt {2 \, c d x + b d}}{6 \, {\left (c^{2} x^{4} + 2 \, b c x^{3} + 2 \, a b x + {\left (b^{2} + 2 \, a c\right )} x^{2} + a^{2}\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 521 vs.
\(2 (161) = 322\).
time = 2.29, size = 521, normalized size = 2.70 \begin {gather*} -\frac {77}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} d^{5} \arctan \left (\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} + 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) - \frac {77}{2} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} d^{5} \arctan \left (-\frac {\sqrt {2} {\left (\sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} - 2 \, \sqrt {2 \, c d x + b d}\right )}}{2 \, {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}}}\right ) + \frac {77}{4} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} d^{5} \log \left (2 \, c d x + b d + \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) - \frac {77}{4} \, \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {3}{4}} c^{2} d^{5} \log \left (2 \, c d x + b d - \sqrt {2} {\left (-b^{2} d^{2} + 4 \, a c d^{2}\right )}^{\frac {1}{4}} \sqrt {2 \, c d x + b d} + \sqrt {-b^{2} d^{2} + 4 \, a c d^{2}}\right ) + \frac {64}{3} \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} c^{2} d^{5} + \frac {2 \, {\left (15 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} b^{4} c^{2} d^{9} - 120 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a b^{2} c^{3} d^{9} + 240 \, {\left (2 \, c d x + b d\right )}^{\frac {3}{2}} a^{2} c^{4} d^{9} - 19 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} b^{2} c^{2} d^{7} + 76 \, {\left (2 \, c d x + b d\right )}^{\frac {7}{2}} a c^{3} d^{7}\right )}}{{\left (b^{2} d^{2} - 4 \, a c d^{2} - {\left (2 \, c d x + b d\right )}^{2}\right )}^{2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.63, size = 264, normalized size = 1.37 \begin {gather*} \frac {{\left (b\,d+2\,c\,d\,x\right )}^{7/2}\,\left (152\,a\,c^3\,d^7-38\,b^2\,c^2\,d^7\right )+{\left (b\,d+2\,c\,d\,x\right )}^{3/2}\,\left (480\,a^2\,c^4\,d^9-240\,a\,b^2\,c^3\,d^9+30\,b^4\,c^2\,d^9\right )}{{\left (b\,d+2\,c\,d\,x\right )}^4-{\left (b\,d+2\,c\,d\,x\right )}^2\,\left (2\,b^2\,d^2-8\,a\,c\,d^2\right )+b^4\,d^4+16\,a^2\,c^2\,d^4-8\,a\,b^2\,c\,d^4}+\frac {64\,c^2\,d^5\,{\left (b\,d+2\,c\,d\,x\right )}^{3/2}}{3}+77\,c^2\,d^{13/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4}+c^2\,d^{13/2}\,\mathrm {atan}\left (\frac {\sqrt {b\,d+2\,c\,d\,x}\,1{}\mathrm {i}}{\sqrt {d}\,{\left (b^2-4\,a\,c\right )}^{1/4}}\right )\,{\left (b^2-4\,a\,c\right )}^{3/4}\,77{}\mathrm {i} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________